import layout from '@/views/gameTask/module/Layout'
// import lis from '@/views/task/lis'
export default [
  {
    path: '/gameTask',
    name: 'gameTask',
    component: () => import('@/views/gameTask/lis'),
    affiliation: 'main',
    meta: { title: '工程管理', icon: 'icon4', name: 'gameTask' },
  },
  {
    path: '/gameTask/detail',
    name: 'gameTaskDetail',
    component: () => import('@/views/gameTask/detail'),
    meta: {
      title: '模型训练',
      icon: 'icon4',
      affiliation: "gameTask"
    }
  },
  {
    path: '/gameTask',
    name: 'gameTask',
    component: layout,
    // component: lis,
    // affiliation: 'main',
    meta: { title: '模型训练', icon: 'icon1', name: 'gameTask' },
    children: [
      {
        path: 'code',
        name: 'gameTaskCode',
        component: () => import('@/views/gameTask/code'),
        meta: {
          title: '概览',
          icon: 'nav-menu-icon1',
          affiliation: "gameTask"
        }
      },
      {
        path: 'file',
        name: 'gameTasFile',
        component: () => import('@/views/gameTask/file'),
        meta: {
          title: '文件',
          icon: 'nav-menu-icon1',
          affiliation: "gameTask"
        }
      },
      {
        path: 'metrics',
        component: () => import('@/views/gameTask/metrics'),
        name: 'gameTaskmetrics',
        meta: {
          title: '监控',
          icon: 'nav-menu-icon1',
          affiliation: "gameTask"
        }
      },
      {
        path: 'log',
        component: () => import('@/views/gameTask/log'),
        name: 'gameTaskLog',
        meta: {
          title: '日志',
          icon: 'nav-menu-icon1',
          affiliation: "gameTask"
        }
      },
      {
        path: 'ssh',
        component: () => import('@/views/gameTask/webssh'),
        name: 'ssh',
        meta: {
          title: 'ssh',
          icon: 'nav-menu-icon1',
          affiliation: "gameTask"
        }
      },
      {
        path: 'podUrl',
        component: () => import('@/views/gameTask/podUrl'),
        name: 'gameTaskPodUrl',
        meta: {
          title: '节点信息',
          icon: 'nav-menu-icon1',
          affiliation: "gameTask"
        }
      }
    ]
  },
]
